[INFO] cloning repository https://github.com/twissel/bench-locks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twissel/bench-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 984b1c6832478652efbbdc3cc3bc9a1f842cfd10
[INFO] building twissel/bench-locks against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/twissel/bench-locks on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/twissel/bench-locks
[INFO] finished tweaking git repo https://github.com/twissel/bench-locks
[INFO] tweaked toml for git repo https://github.com/twissel/bench-locks written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/twissel/bench-locks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/tokio-rs/tokio`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-channel-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded futures-timer v0.3.0
[INFO] [stderr]   Downloaded futures-core-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded futures-sink-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded futures-util-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.9
[INFO] [stderr]   Downloaded futures-io-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded async-task v1.0.0
[INFO] [stderr]   Downloaded futures-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded futures-join-macro-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded futures-executor-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded tracing-attributes v0.1.2
[INFO] [stderr]   Downloaded async-trait v0.1.11
[INFO] [stderr]   Downloaded tracing v0.1.7
[INFO] [stderr]   Downloaded tracing-core v0.1.5
[INFO] [stderr]   Downloaded futures-select-macro-preview v0.3.0-alpha.18
[INFO] [stderr]   Downloaded proc-macro2 v1.0.2
[INFO] [stderr]   Downloaded async-std v0.99.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1b3ddd11446cebe007fb6be7a13f7170c9411bbba156717b44e238702247395
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c1b3ddd11446cebe007fb6be7a13f7170c9411bbba156717b44e238702247395", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1b3ddd11446cebe007fb6be7a13f7170c9411bbba156717b44e238702247395", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1b3ddd11446cebe007fb6be7a13f7170c9411bbba156717b44e238702247395", kill_on_drop: false }`
[INFO] [stdout] c1b3ddd11446cebe007fb6be7a13f7170c9411bbba156717b44e238702247395
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc52429514f6ed136caf224b4264b52c9f56b62b8fc6e44cee8c06a54b39ff33
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dc52429514f6ed136caf224b4264b52c9f56b62b8fc6e44cee8c06a54b39ff33", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling getrandom v0.1.11
[INFO] [stderr]    Compiling futures-core-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling futures-io-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling futures-sink-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling tracing-core v0.1.5
[INFO] [stderr]    Compiling futures-channel-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling c2-chacha v0.2.2
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling async-task v1.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling tokio-io v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling rand v0.7.0
[INFO] [stderr]    Compiling tokio-codec v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.9
[INFO] [stderr]    Compiling tracing-attributes v0.1.2
[INFO] [stderr]    Compiling tokio-macros v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling async-trait v0.1.11
[INFO] [stderr]    Compiling futures-select-macro-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling futures-join-macro-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling tracing v0.1.7
[INFO] [stderr]    Compiling futures-util-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling tokio-sync v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling futures-executor-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling futures-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling futures-timer v0.3.0
[INFO] [stderr]    Compiling tokio-executor v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling async-std v0.99.4
[INFO] [stderr]    Compiling tokio-fs v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling tokio-timer v0.3.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling tokio-net v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling tokio v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling async-learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:135:40
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^ first, await occurs here, with `counter` maybe used later...
[INFO] [stdout] note: `counter` is later dropped here
[INFO] [stdout]    --> src/main.rs:135:60
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        -------             ^
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:135:40
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:143:39
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ first, await occurs here, with `counter` maybe used later...
[INFO] [stdout] note: `counter` is later dropped here
[INFO] [stdout]    --> src/main.rs:140:47
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     -------                   ^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-learn`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "dc52429514f6ed136caf224b4264b52c9f56b62b8fc6e44cee8c06a54b39ff33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc52429514f6ed136caf224b4264b52c9f56b62b8fc6e44cee8c06a54b39ff33", kill_on_drop: false }`
[INFO] [stdout] dc52429514f6ed136caf224b4264b52c9f56b62b8fc6e44cee8c06a54b39ff33
